$OpenBSD: patch-ui_views_window_dialog_delegate_cc,v 1.11 2017/03/14 12:18:54 robert Exp $
--- ui/views/window/dialog_delegate.cc.orig.port	Thu Mar  9 21:04:49 2017
+++ ui/views/window/dialog_delegate.cc	Fri Mar 10 07:46:26 2017
@@ -57,7 +57,7 @@ Widget::InitParams DialogDelegate::GetDialogWidgetInit
   params.bounds = bounds;
   DialogDelegate* dialog = delegate->AsDialogDelegate();
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   // The new style doesn't support unparented dialogs on Linux desktop.
   if (dialog)
     dialog->supports_custom_frame_ &= parent != NULL;
